package com.zhijian.medical.dao.local;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.zhijian.medical.entity.po.RoutineQcHandle;
import com.zhijian.medical.entity.vo.request.RoutineQcHandleSearchVo;
import org.apache.ibatis.annotations.Param;

public interface RoutineQcHandleMapper extends BaseMapper<RoutineQcHandle> {

    /**
     * 切片分页查询数据
     * @param searchVo 查询条件
     * @return 查询数据
     */
    Page<RoutineQcHandle> selectPageList(RoutineQcHandleSearchVo searchVo);

    /**
     * 获取剩余组织详情
     * @param id 剩余组织ID
     * @return
     */
    RoutineQcHandle selectOne(@Param("id") Long id);
}
